package org.fao.pims.model;

public class Taxon {
	
	private int id;
	
	// Name can be the common or the scientific one 
	private String name;
	
	private String commonName;
	
	private String scientificName;
	
	private String commonAndScientName;
	
	private String nameStatus;
	
	private String rank;
	
	private String higherTaxon;
	
	private String classification;
	
	private String author;
	
	private String year;
	
	private String lsid;

	public String getCommonName() {
		return commonName;
	}

	public void setCommonName(String commonName) {
		this.commonName = commonName;
	}

	public String getScientificName() {
		return scientificName;
	}

	public void setScientificName(String scientificName) {
		this.scientificName = scientificName;
	}

	public String getNameStatus() {
		return nameStatus;
	}

	public void setNameStatus(String nameStatus) {
		this.nameStatus = nameStatus;
	}

	public String getRank() {
		return rank;
	}

	public void setRank(String rank) {
		this.rank = rank;
	}

	public String getHigherTaxon() {
		return higherTaxon;
	}

	public void setHigherTaxon(String higherTaxon) {
		this.higherTaxon = higherTaxon;
	}

	public String getClassification() {
		return classification;
	}

	public void setClassification(String classification) {
		this.classification = classification;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}

	public String getLsid() {
		return lsid;
	}

	public void setLsid(String lsid) {
		this.lsid = lsid;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getCommonAndScientName() {
		return commonAndScientName;
	}

	public void setCommonAndScientName(String commonAndScientName) {
		this.commonAndScientName = commonAndScientName;
	}

	public void combineNames() {
		commonAndScientName = commonName + " (" + scientificName + ")";
	}
}
